def func1(my_str):
    print(my_str[::-1])


def func2(my_str):
    r_str = ''
    for i in my_str:
        r_str = i + r_str
    print(r_str)


def func3(my_str):
    str_list = list(my_str)
    str_list.reverse()
    print(''.join(str_list))


if __name__ == '__main__':
    func1('Hogwarts')
    func2('Hogwarts')
    func3('Hogwarts')
